import Container from "../../pages/container";

import { OrderList } from "../../pages/order/list";
import OrderDetail from "../../pages/order/orderDetails";
import { OrderAnalyse } from "../../pages/order/OrderAnalyse";

export const Orders = {
    path: "order",
    meta: {
        title: "订单管理"
    },
    element: <Container></Container>,
    children: [{
        path: "",
        meta: {
            title: "订单列表"
        },
        element: <OrderList></OrderList>
    }, {
        path: "orderDetails/:id",
        meta: {
            title: "订单详情"
        },
        element: <OrderDetail></OrderDetail>
    }, {
        path: "orderAnalyse",
        meta: {
            title: "订单分析"
        },
        element: <OrderAnalyse></OrderAnalyse>
    }
    ]
}